/*
 * @Author: Await
 * @Date: 2025-05-06 18:30:00
 * @LastEditors: Await
 * @LastEditTime: 2025-05-06 18:30:00
 * @Description: 亮色主题预设
 */
import { ThemeConfig } from '../../../../types/chartTypes';

const shineTheme: ThemeConfig = {
  themeName: '亮色主题',
  color: [
    '#c12e34', 
    '#e6b600', 
    '#0098d9', 
    '#2b821d', 
    '#005eaa', 
    '#339ca8', 
    '#cda819', 
    '#32a487', 
    '#1da1f2', 
    '#fb8026'
  ],
  backgroundColor: 'rgba(255, 255, 255, 1)',
  textStyle: {
    color: '#333',
    fontFamily: 'sans-serif',
    fontSize: 12,
  },
  title: {
    textStyle: {
      color: '#333333',
      fontSize: 16,
      fontWeight: 'bold',
    },
    subtextStyle: {
      color: '#aaaaaa',
      fontSize: 12,
    },
  },
  line: {
    symbol: 'circle',
    symbolSize: 4,
    smooth: false,
    lineStyle: {
      width: 2,
      type: 'solid',
    },
  },
  radar: {
    symbolSize: 4,
    lineStyle: {
      width: 2,
    },
    areaStyle: {
      opacity: 0.2,
    },
  },
  tooltip: {
    backgroundColor: 'rgba(50, 50, 50, 0.7)',
    borderColor: '#333',
    borderWidth: 0,
    padding: 5,
    textStyle: {
      color: '#fff',
    },
  },
  axis: {
    axisLine: {
      show: true,
      lineStyle: {
        color: '#333',
        width: 1,
      },
    },
    axisTick: {
      show: true,
      lineStyle: {
        color: '#333',
        width: 1,
      },
    },
    axisLabel: {
      color: '#333',
      fontSize: 10,
    },
    splitLine: {
      lineStyle: {
        color: ['#ccc'],
        width: 1,
        type: 'solid',
      },
    },
    splitArea: {
      show: false,
    },
  },
  legend: {
    textStyle: {
      color: '#333333',
      fontSize: 12,
    },
  },
  toolbox: {
    iconStyle: {
      normal: {
        borderColor: '#c12e34',
      },
      emphasis: {
        borderColor: '#e6b600',
      },
    },
  },
  timeline: {
    lineStyle: {
      color: '#005eaa',
      width: 1,
    },
    itemStyle: {
      color: '#005eaa',
      borderWidth: 1,
    },
    controlStyle: {
      color: '#005eaa',
      borderColor: '#005eaa',
    },
    label: {
      color: '#005eaa',
    },
  },
};

export default shineTheme;